package service.impl;

import dao.UserDao;
import dao.impl.UserDaoimpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService{

    UserDao userDao=new UserDaoimpl();
    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
